﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/External.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    登录
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ScriptStyleContent" runat="server">
    <script type="text/javascript">
        function goToRegister() {
            window.location.href = "Register/Register/";
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div>
        <% using (Html.BeginForm())
           { %>
        <p>
            登录系统</p>
        <p>
            用户名:<input type="text" name="userName" />
        </p>
        <p>
            密码:
            <input type="password" name="password" />
        </p>
        <p>
            验证码:<input type="text" name="validationCode" />
        </p>
        <p>
            <input type="submit" value="登录" />
            <input type="button" value="申请帐号" onclick="goToRegister()" />
        </p>
    </div>
    <%} %>
</asp:Content>
